.bazi-chart {
  min-height: 100vh;
}

.input-form {
  margin-bottom: 24px;
}

.form-item {
  margin-bottom: 16px;
}

.label {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background-color: var(--background-color);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  font-size: 16px;
}

.calculate-button {
  margin-top: 8px;
}

.bazi-pillars {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 8px;
}

.pillar {
  background-color: var(--card-background);
  border-radius: 12px;
  padding: 16px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pillar-title {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pillar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.stem,
.branch {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.element {
  font-size: 14px;
  color: var(--secondary-color);
}

.element-analysis {
  margin-bottom: 24px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.element-bars {
  margin-bottom: 16px;
}

.element-bar-container {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.element-name {
  width: 30px;
  font-size: 16px;
  font-weight: 600;
}

.element-bar-wrapper {
  flex: 1;
  height: 12px;
  background-color: var(--background-color);
  border-radius: 6px;
  margin: 0 10px;
  overflow: hidden;
}

.element-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.element-count {
  width: 20px;
  font-size: 16px;
  text-align: right;
}

.life-analysis {
  .analysis-card {
    background-color: var(--background-color);
    border-radius: 12px;
    padding: 16px;

    .analysis-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .analysis-content {
      font-size: 15px;
      line-height: 1.5;
    }
  }
}
